package edu.zut.cs.software.estateagent.order.service.impl;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import edu.zut.cs.software.base.service.impl.GenericManagerImpl;
import edu.zut.cs.software.estateagent.order.dao.LeasingOrderDao;
import edu.zut.cs.software.estateagent.order.domain.LeasingOrder;
import edu.zut.cs.software.estateagent.order.service.LeasingOrderManager;

@Component
@Transactional
public class LeasingOrderManagerImpl extends GenericManagerImpl<LeasingOrder, Long> implements LeasingOrderManager {

	LeasingOrderDao orderDao;

	@Override
	public LeasingOrder findbyUsername(String username) {
		// TODO Auto-generated method stub
		return null;
	}

	@Autowired
	public void LeasingOrderDao(LeasingOrderDao orderDao) {
		this.orderDao = orderDao;
		this.dao = this.orderDao;
	}

}
